package com.zero.dubbo.sample.customer;


import com.zero.dubbo.sample.api.EchoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class EchoConsumer {

    @Autowired
    private EchoService echoService;

    public String echo(String name){
        return echoService.echo(name);
    }
}
